package com.hqbzl.chat.service;

import java.util.List;
import java.util.Set;

import com.hqbzl.chat.model.Group;
import io.netty.channel.Channel;

public interface GroupSession {

	Group createGroup(String groupName, Set<String> members);

	Group joinGroup(String groupName, String member);

	Group query(String groupName);

	Group removeMember(String groupName, String member);

	Group removeGroup(String groupName);

	Set<String> getMembers(String groupName);

	List<Channel> getMemberChannel(String groupName);
}
